package com.fanfan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("com.fanfan.dao")
@EnableSwagger2
@EnableScheduling
public class HnustApplication {
    public static void main(String[] args) {
       try {
           SpringApplication.run(HnustApplication.class,args);
       }catch (Exception e){
           e.printStackTrace();
       }
    }
}
